import request from '@/utils/request'

//格式化sd卡接口
export function sdcardFormat(data) {
  return request({
    url: 'api/system/sdcardFormat',
    method: 'post',
    data: data
  })
}

// 获取录像计划接口
export function getRecordPlan(query) {
  return request({
    url: 'api/system/getRecordPlan',
    method: 'get',
    params: query
  })
}

//设置录像计划接口
export function setRecordPlan(data) {
  return request({
    url: 'api/system/setRecordPlan',
    method: 'post',
    data: data
  })
}
